/* vim: set sw=8 ts=8 sts=8 expandtab: */
#ifndef CMAID_LIST_GTEST
#define CMAID_LIST_GTEST

#if GTEST_HAS_COMBINE
class Cmaid_List_Gtest : public Cmaid_Gtest_Container_Single
{
        protected:

        Cmaid_List *list;

        virtual void SetUp()
        {
                Cmaid_Gtest_Container_Single::SetUp();
                list = container;
        }
        virtual void TearDown()
        {
                Cmaid_Gtest_Container_Single::TearDown();
                list = NULL;
        }
        virtual void fill()
        {
                for (int i = 0; i < dataCount(); i++)
                        cmaid_list_append(list, dataAt(i));
        }
};

#endif /* GTEST_HAS_COMBINE */

#endif /* CMAID_LIST_GTEST */
